<!DOCTYPE html>
<html lang="en">

<head>
    <title>文件上传</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<form enctype="multipart/form-data" method="post"  action="/uploads">
    文件:<input type="file" name="head_img" /> 姓名:<input type="text" name="name" />
    <input type="submit" value="上传" />
</form>
</body>
</html>